namespace PropertyExpression.ControllableQuery.Test.Queries.StringBuilding
{
    public static class Query
    {
        public static IQuery<IModelPublicationInfo> ModelPublicationQuery(IParam<string> modelCode, IParam<string> modelSequence)
        {
            return new Q(@"SELECT
    ModelPublication.PublicationId,
    ModelPublication.ModelCode,
    ModelPublication.ModelSequence
FROM
    ModelPublication
WHERE
    ModelPublication.ModelCode = ")._(modelCode)._(@"
    AND ModelPublication.ModelSequence = ")._(modelSequence).Query<IModelPublicationInfo>();            
        }        
    }
}